const productSource = {
    namespaced: true,
    state: {
      'productSourceShopId': [],// 商品源店铺id选择
      'productSourceIdValue': '' // 当前选择的店铺id
    },
    mutations: {
      UPDATE_PRODUCT_SOURCE_SHOP_ID(state, data) {
        state.productSourceShopId = data
      },
      UPDATE_PRODUCT_ID_VALUE(state, data) {
        state.productSourceIdValue = data
      },
    },
    getters: {
      GET_PRODUCT_SOURCE_SHOP_ID(state) {
        return state.productSourceShopId
      },
      GET_PRODUCT_ID_VALUE(state) {
        return state.productSourceIdValue
      },
    }
  }
  export default productSource